﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TaobaoERP.Core.Common;

namespace TaobaoERP.BusinessTaobao.ParObject
{
    /// <summary>
    /// 此接口用于获取卖家店铺基本信息
    /// </summary>
    public class ShopGetPar:ParBase
    {
        /// <summary>
        /// 需要获取的字段
        /// </summary>
        [Par(IsNeed = true)]
        public string fields = "sid,cid,nick,title,desc,bulletin,pic_path,create,modified";
        /// <summary>
        /// 卖家昵称
        /// </summary>
        [Par(IsNeed = true)]
        public string nick;

        public string sip_sessionid = Utils.GetCookies("sessionid");
    }

    /// <summary>
    /// 更新店铺的标题、公告及介绍
    /// </summary>
    public class ShopUpdatePar : ParBase
    {
        /// <summary>
        /// 店铺标题注：标题、公告和介绍至少传一个
        /// </summary>
        public string title;
        /// <summary>
        /// 店铺公告
        /// </summary>
        public string bulletin;
        /// <summary>
        /// 店铺介绍
        /// </summary>
        public string desc;
    }

    /// <summary>
    /// 获取剩余的橱窗推荐数量
    /// </summary>
    public class ShowcaseCount : ParBase
    {
        
    }
}
